From: Andreas Schwab Date: Wed, 11 Aug 2010 13:43:49 +0000 (+0200) Subject: * subr.el (ignore-errors): Add debug declaration. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18^2~542 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=911744525eebeaaf8ae32de2c2dea794b9f44e63;p=emacs.git * subr.el (ignore-errors): Add debug declaration. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 25c84bad8d3..207eb251f6a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-08-11 Andreas Schwab + + * subr.el (ignore-errors): Add debug declaration. + 2010-08-09 Geoff Gole (tiny change) * whitespace.el (whitespace-color-off): Remove post-command-hook diff --git a/lisp/subr.el b/lisp/subr.el index 16ea5b41342..44ae84ab76b 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -219,6 +219,7 @@ Treated as a declaration when used at the right place in a (defmacro ignore-errors (&rest body) "Execute BODY; if an error occurs, return nil. Otherwise, return result of last form in BODY." + (declare (debug t) (indent 0)) `(condition-case nil (progn ,@body) (error nil))) ;;;; Basic Lisp functions.